Release 10.1A: OpenEdge Data Management:
SQL Development
Preface
This Preface contains the following sections:
Purpose
OpenEdge Data Management: SQL Development provides information for developers who are using SQL within the OpenEdge® application development environment. The information in this manual is also useful for database administrators, and, to a lesser degree, to application end users.
Audience
The audience for this book is composed of three specific groups:
Organization
Provides an overview of OpenEdge SQL and the OpenEdge SQL client/server architecture.
Presents an overview of the JDBC client, details on setting environment variables, and procedures for connecting to a database with the JDBC driver.
Offers an overview of the ODBC client and information on configuring data source.
Chapter 4 "Data Control Language and Security"
Reviews information on working with database security, creating users, and granting, modifying, and revoking privileges.
Chapter 5 "OpenEdge SQL Data Definition Language"
Furnishes information on OpenEdge SQL database structure and methods for creating, altering, and dropping database objects.
Chapter 6 "OpenEdge SQL Data Manipulation Language"
Provides information on the Data Manipulation Language statements, indexes, and join operations.
Chapter 7 "Progress 4GL and OpenEdge SQL Interoperability"
Addresses the interoperability of Progress 4GL and OpenEdge SQL.
Chapter 8 "Data Control Language and Transaction Behavior"
Summarizes information on transactions, isolation levels, and locking.
Chapter 9 "Stored Procedures and Triggers"
Provides information on using stored procedures and triggers.
Chapter 10 "Optimizing Query Performance"
Presents information on the operation of the SQL Query Optimizer and offers recommendations on how to get the best out of its performance.
Typographical conventions
This manual uses the following typographical conventions:
Examples of syntax diagrams (SQL)
In this example,
GRANT,RESOURCE,DBA, andTOare keywords. You must specifyRESOURCE,DBA, or both, and at least oneuser_name. Optionally you can specify additionaluser_nameitems; each subsequentuser_namemust be preceded by a comma:
This excerpt from an ODBC application invokes a stored procedure using the ODBC syntax {
callprocedure_name( param )}, where braces and parentheses are part of the language:
In this example, you must specify a
table_name,view_name, orsynonym, but you can choose only one. In all SQL syntax, if you specify the optionalowner_namequalifier, there must not be a space between the period separator andtable_name,view_name, orsynonym:
In this example, you must specify
table_nameorview_name:
In this example, you must include one expression
(expr)or column position(posn), and optionally you can specify the sort order as ascending (ASC) or descending (DESC). You can specify additional expressions or column positions for sorting within a sorted result set. The SQL engine orders the rows on the basis of the firstexprorposn. If the values are the same, the secondexprorposnis used in the ordering:
Long syntax descriptions split across lines
Some syntax descriptions are too long to fit on one line. When syntax descriptions are split across multiple lines, groups of optional and groups of required items are kept together in the required order.
In this example,
CREATE VIEWis followed by several optional items:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |